package com.skaz.entity;

import com.skaz.bean.BaseEntity;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * @Author: jungle
 * @Date: 2018/11/5 2:35 PM
 */
@Data
@Entity
@DynamicInsert
@DynamicUpdate
public class Demo extends BaseEntity {

    @Column(name = "name")
    private String name;
}
